package com.springcloud.demo.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@ConfigurationProperties(prefix = "mysql")
@Component
@Data
public class MySQLProperties {

    private String host;

    private Integer port;

    private String username;

    private String password;
}
